package com.zbkj.crmeb.chant.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zbkj.crmeb.chant.model.CategoryMatch;

/**
 * @Description: 
 * @author daigb
 * @date 2021-02-03
 */
@Mapper
public interface CategoryMatchMapper extends BaseMapper<CategoryMatch> {

    List<CategoryMatch> getCategoryMatch(Integer merId, Integer... cateId);
    
    List<Integer> getCategoryMatchIds(Integer merId);
    
    /**
     * 获取商户不可见分类(包括总分类和商户分类)
     * @author daigb
     * @date:  2022-04-27 16:22
     */
    List<CategoryMatch> selectCategoryMatchDisable(Integer merId);

    List<CategoryMatch> getTripletCateName(List<Integer> cateIds);

}
